package com.nanychuan.blogback.service;

import com.nanychuan.blogback.pojo.Article;
import com.nanychuan.blogback.pojo.Category;
import com.nanychuan.blogback.pojo.Tag;

import java.util.List;

/**
 * @author 往
 */
public interface ArticleService {
    List<Article> selectArticle(String uid,String title);

    void isOpen(Article article);

    List<Category> queryCategory();

    List<Tag> queryTags(String cid);

    Article addArticle(Article article);

    Article queryById(String id);

    Article updateArticle(Article article);

    void deleteArticle(String id);


}
